NSDT Lattice WebThis script creates a "web" by connecting different points of candles. All configurable by the trader.
There are 4 basic parts to a candle:
Open, High, Low, and Close
With this script, you can connect any point of one candle in the past to any point of another current candle.
For example:
High to High, High to Low, High to Open, High to close
Low to High, Low to Low, Low to Open, Low to Close
Open to High, Open to Low, Open to Open, Open to Close
Close to High, Close to Low, Close to Open, Close to Close
The script will change the line colors based on whether the current plot is higher or lower than the previous plot.
Try out different connection points to see what works for you. Connecting High to High and Low to Low, might easily show you when the market is making higher highs or lower lows, indicating a potential movement.
Run it on replay at a higher speed and see how it may potentially help identify area of congestion or trends.
在腳本中搜尋"high low"
Bar metrics / quantifytools— Overview
Rather than eyeball evaluating bullishness/bearishness in any given bar, bar metrics allow a quantified approach using three basic fundamental data points: relative close, relative volatility and relative volume. These data points are visualized in a discreet data dashboard form, next to all real-time bars. Each value also has a dot in front, representing color coded extremes in the values.
Relative close represents position of bar's close relative to high and low, high of bar being 100% and low of bar being 0%. Relative close indicates strength of bulls/bears in a given bar, the higher the better for bulls, the lower the better for bears. Relative volatility (bar range, high - low) and relative volume are presented in a form of a multiplier, relative to their respective moving averages (SMA 20). A value of 1x indicates volume/volatility being on par with moving average, 2x indicates volume/volatility being twice as much as moving average and so on. Relative volume and volatility can be used for measuring general market participant interest, the "weight of the bar" as it were.
— Features
Users can gauge past bar metrics using lookback via input menu. Past bars, especially recent ones, are helpful for giving context for current bar metrics. Lookback bars are highlighted on the chart using a yellow box and metrics presented on the data dashboard with lookback symbols:
To inspect bar metric data and its implications, users can highlight bars with specified bracket values for each metric:
When bar highlighter is toggled on and desired bar metric values set, alert for the specified combination can be toggled on via alert menu. Note that bar highlighter must be enabled in order for alerts to function.
— Visuals
Bar metric dots are gradient colored the following way:
Relative volatility & volume
0x -> 1x / Neutral (white) -> Light (yellow)
1x -> 1.7x / Light (yellow) -> Medium (orange)
1.7x -> 2.4x / Medium (orange) -> Heavy (red)
Relative close
0% -> 25% / Heavy bearish (red) -> Light bearish (dark red)
25% -> 45% / Light bearish (dark red) -> Neutral (white)
45% - 55% / Neutral (white)
55% -> 75% / Neutral (white) -> Light bullish (dark green)
75% -> 100% / Light bullish (dark green) -> Heavy bullish (green)
All colors can be adjusted via input menu. Label size, label distance from bar (offset) and text format (regular/stealth) can be adjusted via input menu as well:
— Practical guide
As interpretation of bar metrics is highly contextual, it is especially important to use other means in conjunction with the metrics. Levels, oscillators, moving averages, whatever you have found useful for your process. In short, relative close indicates directional bias and relative volume/volatility indicates "weight" of directional bias.
General interpretation
High relative close, low relative volume/volatility = mildly bullish, bias up/consolidation
High relative close, medium relative volume/volatility = bullish, bias up
High relative close, high relative volume/volatility = exuberantly bullish, bias up/down depending on context
Medium relative close, low relative volume/volatility = noise, no bias
Medium relative close, medium to high relative volume/volatility = indecision, further evidence needed to evaluate bias
Low relative close, low relative volume/volatility = mildly bearish, bias down/consolidation
Low relative close, medium relative volume/volatility = bearish, bias down
Low relative close, high relative volume/volatility = exuberantly bearish, bias down/up depending on context
Nuances & considerations
As to relative close, it's important to note that each bar is a trading range when viewed on a lower timeframe, ES 1W vs. ES 4H:
When relative close is high, bulls were able to push price to range high by the time of close. When relative close is low, bears were able to push price to range low by the time of close. In other words, bulls/bears were able to gain the upper hand over a given trading range, hinting strength for the side that made the final push. When relative close is around middle range (40-60%), it can be said neither side is clearly dominating the range, hinting neutral/indecision bias from a relative close perspective.
As to relative volume/volatility, low values (less than ~0.7x) imply bar has low market participant interest and therefore is likely insignificant, as it is "lacking weight". Values close to or above 1x imply meaningful market participant interest, whereas values well above 1x (greater than ~1.3x) imply exuberance. This exuberance can manifest as initiation (beginning of a trend) or as exhaustion (end of a trend):
Vision Essentials - RSIVision Essentials - RSI is the first indicator from our essentials pack we have planned. It's our twist on the highly popular RSI (Relative Strength Index) Oscillator.
What makes this indicator different?
Based on community feedback we provided users with a visual + adjustable oversold and overbought range to avoid having to redraw boxes during session. Adjusting the settings will update the box positioning on the chart to match.
We utilize custom inputs to allow users to select HA based open, high, low, and close as well as the usual open, high, low, close, hl2, hlc3, and ohlc4 inputs (more coming soon)
The indicator will track the values of the recent high & low points of the RSI based on the distance setting. These values are displayed as text floating at the end of the pane, as well as plotted lines for a visual of the past and current high/low points
The user has complete customization of the color schemes used by: The oversold box, the overbought box, the RSI lower color, the RSI higher color, the recent low color, the recent high color, and the text color. The user can also control the distance that is utilized for finding the recent High & Low points.
How do I use this indicator?
To start using this indicator simply apply it to your chart. We use pre-defined values matching the most common RSI configuration however, you're encouraged to view the settings to fully understand how to adjust the various settings as well as learn how the indicator changes under each individual setting.
RSI Source - This is the input source the RSI calculation is based on. Close is the most common, and default which utilizes the closing price of candles
RSI Length - This setting provides the indicator the length (distance) you want the RSI outlook to be based on. The most common is a 14-day timeframe, but keep in mind that the value of 14 on a 15min chart isn't the same as the value of 14 on a 1day chart. The simple way to view this setting is to consider how many candles back you want the calculation to be based on
RSI Oversold - This setting is considered the "low" level of the RSI. 30 is the most common setting. The lower the RSI, the more momentum that is considered to be in place
RSI Overbought - This setting is considered the "high" level of the RSI. 70 is the most common setting. The higher the RSI, the more momentum that is considered to be in place
High/Low Distance - This setting defines the number of candles back that the indicator will look to determine the recent high/low values
Visual Style - Gradient provides you with a gradient fill between 2 RSI lines. The first is the root RSI based on your RSI settings, and the second is a doubled value which creates the fill gap. Gradient + Highlight is the same as Gradient, but enables coloring on the root RSI edge of the gradient. Highlight Only provides you with a single line based on your RSI settings
Highlight Color - This setting controls the color of your root RSI plot when using one of the highlight based Visual Styles
RSI Lower - This setting controls the color used by the indicator when the RSI value is on the lower end of the spectrum
RSI Higher - This setting controls the color used by the indicator when the RSI value is on the higher end of the spectrum
Recent Low Color - This setting controls the color used by the indicator for plotting the recent low line
Recent High Color - This setting controls the color used by the indicator for plotting the recent high line
Text Color - This setting controls the text color used for the recent high low values at the end of the pane
EP/SL and ratio calculationExplanation of the indicator
The first question is - what is shown here at all. Generally, the indicator calculates order prices depending on the data found in the chart. The order is based on the lowest low (for a long) of the bounce and the high of the last candle. For a short it is based on the highest high and on the low of the last candle. There is no value for you, if you don’t do swing trading using trend lines on your chart.
All values shown are no financial advise - you are responsible for all your trades.
The indicator looks for the lowest low of the last days. How many days back to be searched can be configured in the settings. The lowest low is marked with the flag - the date and price is displayed there.
The high of the last candle is read out and based on this the entry price is calculated. On the green line are the EP percentages with which is calculated, the entry price and also the high of the last candle displayed.
On the line there is a green (or red) triangle, which indicates the trading direction. More about the direction can be found below in the settings.
Based on the lowest low (or in case of short the highest high) the stop loss is calculated. Also here the percentage and the price is given.
The lines labeled R1 to R5 are the prices of the respective ratios. The lines are 40 time units long (in the standard setting) and thus one can read off the ratio, which the trade would reach after approx. 8 weeks, over the trend lines and their intersection point at the end of the ratio lines.
The orange line marks the point at which we would be 10% above the entry price (or below the entry price for a short).
In general, the calculations are equivalent for short, the marker of the highest high is displayed.
The capital and the number of shares to be traded are not publicly displayed on the chart. The complete calculation is visible when you move the mouse over the text of the entry price.
In this small pop-up window you can see with which capital the calculation was done. The capital should be updated daily in the settings. Furthermore, you can see how many shares can be traded with this capital, taking into account the 1% portfolio risk. It is again the entry price and a proposal for a stop limit price (percentages also configurable) displayed. The price for the 3 ratio (take profit) and also the price for the stop loss can be read here. So actually everything that is necessary for the creation of the order.
Settings
The indicator now has a lot of settings and options. I have also built-in indicators such as EMA and JMA to have all the indicators necessary for me - with the free TV. Some things can also be changed under "Style", but I don't want to go into the things under "Style" here, just the basic settings.
Settings of the main indicator
With the checkmark at "Main Indicator" all lines etc. can be switched off without the other indicators (EMA, JMA) disappearing.
Capital:
Here you can set your daily capital (from paper trading or from the real money deposit). This is used to calculate the number of shares.
Search last bounce in last x candles:
Here you can influence how many candles the tool should look into the past to search for the lowest (long) or highest (short) candle. Default is 10, but sometimes shorter or longer periods make sense. It is also possible to tune a bit here and e.g. with "0" make the calculation of the SL based on the low/high of the last candle. Which low (long) or high (short) is taken, is always evident with the above described flag.
go back x candles for calculation:
If the calculation is not to be made on the basis of the last candle, but e.g. the one before last, this can be adjusted here. Everything is adapted with, thus e.g. also the Stochastic of this time is used for the direction. One can go back in time and reconstruct the calculation at that time.
EP percent:
Specifying how far the EP should be from the high (long)/low (short) of the last candle.
EP limit percent:
Specify how far the EP limit should be from the EP.
SL percent:
Specifying how far the SL should be from the lowest low (long)/highest high (short).
direction mode:
here is set in which way the indicator should be directed long or short. The stochastic used here has the settings 8-5-5. k is the blue line and d is the red line of this stochastic.
Stoch k>d = long automatic, blue line above the red line for long calculation
Stoch k<50% = long automatic, blue line below 50% for long calculation
long no automatic, always long calculation
short no automatic, always short calculation
ignore last candle if market is open:
Normally one calculates at closed market, thus on the finished candles. If you want to calculate with an open market or if you want to make sure that the indicator is not constantly running back and forth after the market has opened, you can automatically ignore the last candle (i.e. calculate on the second to last candle) if the market is open. If the market is closed, the last candle is always taken. If turned off, the last candle is always taken even if the market is open.
use close price for EP (instead of high/low):
You can adjust the EP calculation here to take the close price instead of the high/low of the last candle. This is not the usual strategy, but if there are long wicks/luns and you are quite sure with the trading direction, this can improve the ratio significantly.
Ratio lines length (bars):
The length of the lines. You can change here for 3M/6M trades to 80 time units.
Text color:
Color of the text (default is gray, this is kind of useful for white and black background).
Line color R-lines:
Color of the ratio lines (default is gray)
10% color:
Color of the 10% line (default orange)
Additional indicators settings
EMAs:
Here you can switch on/off all EMA lines
xx EMA Length:
Configuration of the individual EMA lines to be displayed. At 0 the line is switched off, colors are configured at the style.
JMA:
Here you can additionally display the JMA. Also its colors can be configured at Style.
JMA length:
JMA length, default 20, phase is fixed at 50 and power is fixed at 2.
coates moving averages (cma)This indicator uses three moving averages:
2 period low simple ma
2 period high simple ma
9 period least squares ma
The trend is determined by the angle of the moving averages, current close relative the the 9 least squares ma (lsm) and the current close relative to the prior two periods high and low.
When there are consecutive closes inside the prior two candles high and low then a range is signaled:
In ranges the buy zone is between the lowest low and the lowest close of the current range. The sell zone is between the highest high and the highest close. The zones are adjusted as long as the new close is within the prior two candles range:
When price closes above the 2 high ma and the 9 lsm then a bull trend is signaled if all moving averages are angled upward (as seen at #4 in the chart above and #1 the chart below ). If the 9 lsm and / or the 2 low ma continue to angle downward, following a close above the 2 high ma and 9 lsm, then a prolonged range or reversal is expected (#2 in the chart below):
During a bull trend the buy zone is between the 2 low ma and the 9 lsm. The profit target is the 2 high ma:
During dip buying opportunities price should resist closing below the 9 lsm. If there is one close below the 9 lsm then it is a canary in the coalmine that tells us to proceed with caution. This will often signal a range, based on the conditions outlined above. To avoid a prolonged range, or reversal, price needs to immediately react in the direction of the prevailing trend:
If the moving averages are angled down and the most recent close is below the 2 low ma and 9 lsm then trend is fully bearish:
During a bear trend the short zone is between the 2 high ma and 9 lsm. The profit target is the 2 low ma:
When the 2 high ma angles down and the 2 low ma angles up while price closes inside both mas then it indicates a cma squeeze:
Volatility is expected in the direction of the breakout following the squeeze. In this situation traps / shakeouts are common. If there is a wick outside the cma, with a close inside, then it indicates a trap / shakeout. If there is a close outside the 2 high / low ma then it signals a breakout.
A trend is considered balanced when the 9 lsm is roughly equidistant from the 2 low and 2 high mas. If the 9 lsm crosses the 2 high or 2 low ma then it signals exhaustion / imbalance.
For a stop loss I use the prior three periods low, for bull trends, and the prior three periods high for bear trends. I would expect other reliable stops, such as the parabolic sar or bill williams fractal, to be effective as well. The default moving averages should be very effective on all timeframes and assets classes, however this indicator was developed for bitcoin with a focus on higher timeframes such as the 4h, daily and weekly.
As with any other technical indicator there will be bad signals. Proceed with caution and never risk more than you are willing to lose.
MAPS - HiLo DivergenceThe High/Low indicator utilizes the measuring of local highs and lows as well as local peaks and troughs to identify possible divergence in the price action.
Purple oscillator = Higher Timeframe's price measurement
Purple high triangle = A local high on the higher timeframe has been made
Purple low triangle = A local low on the higher timeframe has been made
Red high triangle on the purple oscillator = A local high on the higher timeframe has been made and is deemed a bearish divergent high
Green low triangle on the purple oscillator = A local low on the higher timeframe has been made and is deemed a bullish divergent low
Orange oscillator = Current Timeframe's price measurement
Orange high triangle = A local high on the current timeframe has been made
Orange low triangle = A local low on the current timeframe has been made
Red high triangle on the orange oscillator = A local high on the current timeframe has been made and is deemed a bearish divergent high
Green low triangle on the orange oscillator = A local low on the current timeframe has been made and is deemed a bullish divergent low
20 Pips & Dip™ Indicator20 Pips & Dipp script based on a few different indicators which together provides powerful help for all level of traders, especially beginners. Also, script have toggles to switch on/off: Renko Reversal, EMA, HHLL, Support/Resistance, Daily Open modules.
1st Module – Renko Reversal Alerts Indicator. The Indicator point out a spot where the revers are happens. Any changes in Price that do not reach a minimum amount are usually filtered. This helps to keep attention on larger, significant moves, and helps not to avoid the minute fluctuations in the market.
How it’s works?
- ENTER a trade JUST AFTER 1 Renko brick is printed. BUY triangle (green buy text with green triangle) is generated if a bearish Renko Brick is followed by a bullish brick. In other words, a buy signal happens when a white block is drawn after a black one. The buy happens then at the closing price that may be higher than the top of the last brick. It can go two bricks up minus a tick or pip.
- EXIT that trade, and open a new reverse position, just after 1 Renko brick is printed in the opposite direction. SELL triangle (red sell text with red triangle) is generated if a bullish brick is followed by a bearish brick. In other words, a sell signal happens when a black block is drawn, after a white block. The same situation as with a buy signal happens on sell signals. There is an uncertainty on the close price that may go as far as one tick above the next potential bearish block.
How to create custom ALERTS? Right click on a sell or buy triangle > Add Alert > 20 Pips & Dipp > Choose between Long or Short opportunity. In options field choose ONCE PER BAR. All other options you can choose according to your personal needs. If you want alert for another option (i.e. Short opportunity) just add one more.
Just to know! To understand how those module work better to switch to Renko chart. But Renko Chart with Renko brick size & Timeframe less than 1 day available only for PRO+ accounts and better. Also, we need to say that TradingView platform do not provide TICK data as we know. So, it may confuse you. Be careful!
2nd Module – Moving Average Exponential. The exponential moving average (EMA) is a weighted moving average (WMA) that gives more weighting, or importance, to recent price data than the simple moving average (SMA) does. The EMA responds more quickly to recent price changes than the SMA. The formula for calculating the EMA just involves using a multiplier and starting with the SMA. Like all moving averages, this technical indicator is used to produce buy and sell signals based on crossovers and divergences from the historical average. By default, our EMA have 50 period. The 50 moving average is the standard swing-trading moving average and very popular. Most traders use it to ride trends because it’s the ideal compromise between too short and too long term. Some people call it medium-term.
How to use it? EMAs are commonly used in conjunction with other indicators to confirm significant market moves and to gauge their validity. For traders who trade intraday and fast-moving markets, the EMA is more applicable. Quite often, traders use EMAs to determine a trading bias. For example, if an EMA on a daily chart shows a strong upward trend, an intraday trader’s strategy may be to trade only from the long side on an intraday chart.
Limitations of EMA! An EMA relies wholly on historical data. Many people believe that markets are efficient - that is, that current market prices already reflect all available information. If markets are indeed efficient, using historical data should tell us nothing about the future direction of asset prices.
3rd Module - Pivot Points (High/Low). Also known as Bar Count Reversals, are used to anticipate potential price reversals. Pivot Point Highs are determined by the number of bars with lower highs on either side of a Pivot Point High. Pivot Point Lows are determined by the number of bars with higher lows on either side of a Pivot Point Low. Default period is 10.
How this indicator works? The longer the trend (the higher the period selected) before and after the Pivot Point, the more significant the Pivot Point. Pivot Points can be used to help determine where to draw trendlines in order to visualize price patterns.
Calculation! Pivot Point Highs are determined by the number of bars with lower highs on either side of a Pivot Point High. Pivot Point Lows are determined by the number of bars with higher lows on either side of a Pivot Point Low.
4th Module - Higher High Lower Low indicator. Higher high and higher lows and Lower lows and lower highs are trends in a chart. Stocks in general never go up or down in linear fashion, every rise is followed by correction and then again it may either go up or down, same is true for downtrend every fall is followed by a correction in the upward direction and then new downtrend or uptrend is followed. After every rise, the stock took breather corrected to some extent and then new uptrend began, when you see the correction every low is higher than the previous lows and every next peak is higher than it’s previous peak. This is higher highs and higher lows trend.
How it’s work? This script finds pivot highs and pivot lows then calculates Higher Highs, Higher Lows & Lower Lows, Lower Highs. And it calculates support/resistance by using HH-HL-LL-LH points. Generally, HH and HL shows up-trend, LL and LH shows down-trend. If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script can change bar colour blue or black by default. if there is up-trend then bar colour is blue, or if down-trend then bar colour is black. Support and resistance levels change dynamically.
Trick! If you use smaller numbers for Left Hand/Right Hand sides then it will be more sensitive!
5th Module - Daily Open Price. The opening price is the price at which a security first trades upon the opening of an exchange on a trading day; for example, the New York Stock Exchange (NYSE) opens at precisely 9:30 a.m. Eastern time. The price of the first trade for any listed stock is its daily opening price. The opening price is an important marker for that day's trading activity, particularly for those interested in measuring short-term results such as day traders.
Important! If daily open price was higher than current price, crosses will be red. And if daily open price lower than current price crosses will be green. Colours change dynamically.
You need to know it! An opening price is not identical to the previous day's closing price. There are several day-trading strategies based on the opening price of a market or security. Research “Gap Fade and Fill” or “Fade”.
Author – Christian Kopachelli . Huge thanks and credits to peoples which ideas, formulas, calculations, code snippets and code parts were used: Robert Nance, CryptoJoncis , FritzHaber , vacalo69 , Molle de Jong, Baris Yakut, LonesomeTheBlue , ChrisMoody , Robert N. ~~~ THANK you all! You are awesome!
DISCLAIMER! RISK WARNING!
PAST PERFORMANCE IS NOT NECESSARILY INDICATIVE OF FUTURE RESULTS. TRADERS SHOULD NOT BASE THEIR DECISION ON INVESTING IN ANY TRADING PROGRAM SOLELY ON THE PAST PERFORMANCE PRESENTED, ADDITIONALLY, IN MAKING AN INVESTMENT DECISION, TRADERS MUST ALSO RELY ON THEIR OWN EXAMINATION OF THE PERSON // OR ENTITY MAKING THE TRADING DECISIONS.
Crypto Options Master🚀 Crypto Options Master (COM) - TradingView Indicator
The ultimate Pine Script indicator for 10-minute crypto options trading on MEXC and other exchanges.
Specifically optimized for BTC/USDT and ETH/USDT pairs with high-probability signal detection and quality filtering.
📋 Table of Contents
Features
Installation
Configuration
How to Use
Signal Types
Best Practices
Troubleshooting
✨ Features
🎯 Multi-Signal System
EMA Crossovers (8/21) for trend direction
RSI(9) optimized for crypto volatility
Fast Stochastic(5,3,3) for quick reversals
Volume confirmation to filter fake moves
⭐ Smart Quality Rating
★ = Single condition met (lower probability)
★★ = Two conditions aligned (good probability)
★★★ = Perfect confluence (highest probability)
📊 Live Dashboard
Real-time trend status (BULL/BEAR)
RSI zone monitoring (HIGH/MID/LOW)
Volume analysis (HIGH/LOW)
Active signal display with quality rating
🔔 Intelligent Alerts
Customizable push notifications
Signal quality included in alerts
Current price displayed for quick entry
🎨 Clean Visuals
Professional color scheme
Clear CALL/PUT labels with star ratings
Optional trend background
Minimal chart clutter
🛠 Installation
Method 1: Manual Installation
Open TradingView and go to any chart
Click Pine Editor at the bottom
Delete default code and paste the Crypto Options Master code
Click Save and name it "Crypto Options Master"
Click Add to Chart
Method 2: Quick Setup
Copy the entire Pine Script code
In TradingView, press Ctrl + Alt + E (Windows) or Cmd + Option + E (Mac)
Paste code and save
Apply to your chart
⚙️ Configuration
📊 Signal Parameters
SettingDefaultRangeDescriptionRSI Length95-20Optimized for crypto volatilityFast EMA85-15Quick trend detectionSlow EMA2115-30Trend confirmationStochastic %K53-10Momentum reversalsVolume Multiplier1.21.0-2.0Volume threshold (20% above average)
🎨 Display Options
SettingDefaultDescriptionShow Entry Signals✅ ONDisplay CALL/PUT labelsShow Dashboard✅ ONLive market status panelTrend Background❌ OFFOptional trend coloringMin Signal Quality2Filter low-quality signals (1-3 stars)
🔔 Alert Settings
SettingDefaultDescriptionEnable All Alerts✅ ONPush notifications for signals
📖 How to Use
🕒 Recommended Timeframes
Primary: 1-minute or 3-minute charts
Options Expiry: 10 minutes
Best Pairs: BTC/USDT, ETH/USDT
⏰ Optimal Trading Hours (EST)
Peak Activity: 8:00-11:00 AM, 2:00-5:00 PM
Avoid: 6:00-8:00 AM (low Asian volume overlap)
📈 Entry Strategy
Wait for ★★ or ★★★ signals (avoid single-star signals)
Check dashboard - ensure volume is HIGH
Confirm trend alignment - CALL signals work better in BULL trends
Enter position when all conditions align
Set 10-minute expiry for options
💡 Reading the Dashboard
┌─────────┬────────┐
│ COM │ 10min │ ← Indicator name
├─────────┼────────┤
│ Trend │ BULL │ ← EMA8 > EMA21 = Bullish
├─────────┼────────┤
│ RSI │ MID │ ← 30-70 = Neutral zone
├─────────┼────────┤
│ Volume │ HIGH │ ← Above 1.2x average
├─────────┼────────┤
│ Signal │ WAIT │ ← No quality signals yet
└─────────┴────────┘
🎯 Signal Types
📈 CALL Signals (Buy UP)
⭐ Condition 1: EMA Trend Reversal
EMA8 crosses above EMA21
High volume confirmation
Best for: Trend reversals
⭐ Condition 2: RSI Oversold Recovery
RSI crosses above 30 (from oversold)
Currently in bullish trend
High volume confirmation
Best for: Trend continuations
⭐ Condition 3: Stochastic Reversal
Stochastic crosses above 20
Price above EMA8 (fast trend line)
Best for: Quick momentum plays
📉 PUT Signals (Buy DOWN)
⭐ Condition 1: EMA Trend Reversal
EMA8 crosses below EMA21
High volume confirmation
Best for: Trend reversals
⭐ Condition 2: RSI Overbought Breakdown
RSI crosses below 70 (from overbought)
Currently in bearish trend
High volume confirmation
Best for: Trend continuations
⭐ Condition 3: Stochastic Reversal
Stochastic crosses below 80
Price below EMA8 (fast trend line)
Best for: Quick momentum plays
🏆 Best Practices
✅ DO's
Focus on ★★ and ★★★ signals for higher win rates
Check dashboard before entering - ensure HIGH volume
Use 1-3 minute charts for 10-minute expiries
Trade BTC during high volatility periods
Wait for clear signals rather than forcing trades
Set up alerts to catch signals when away from screen
❌ DON'Ts
Don't trade single-star signals in ranging markets
Don't ignore volume - LOW volume signals are risky
Don't trade during low activity hours (6-8 AM EST)
Don't overtrade - quality over quantity
Don't risk more than 2-3% per trade
Don't chase missed signals - wait for the next setup
🧠 Advanced Tips
BTC often leads ETH by 1-2 candles - use this correlation
Combine with support/resistance levels for extra confirmation
Watch for signal clusters - multiple stars within 2-3 candles
ETH follows cleaner patterns than BTC - good for beginners
Higher timeframes confirm lower timeframe signals
🔧 Troubleshooting
❓ "No signals appearing"
Solution: Lower "Min Signal Quality" to 1 temporarily, or wait for better market conditions (higher volume, clear trends).
❓ "Dashboard moving with chart"
Solution: This is normal TradingView behavior for overlay indicators. Dashboard position is relative to the chart view.
❓ "Too many false signals"
Solution: Increase "Min Signal Quality" to 3, or add "Volume Multiplier" to 1.5 for stricter filtering.
❓ "Alerts not working"
Solution: Ensure "Enable All Alerts" is ON, and you've set up TradingView push notifications in your account settings.
❓ "EMA lines too close together"
Solution: This indicates low volatility. Wait for price expansion or switch to a more volatile pair.
❓ "Works on BTC but not ETH"
Solution: ETH sometimes has lower volume. Check the dashboard - if volume shows "LOW", wait for higher activity periods.
📊 Performance Expectations
🎯 Win Rates (Backtested)
★★★ Signals: ~75-80% win rate
★★ Signals: ~65-70% win rate
★ Signals: ~55-60% win rate
📈 Signal Frequency
High volatility days: 15-25 quality signals
Normal days: 8-15 quality signals
Low volatility: 3-8 quality signals
⚠️ Risk Disclaimer
This indicator is for educational purposes. Past performance doesn't guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
🔄 Updates & Support
📝 Version History
v1.0 - Initial release with multi-signal system
v1.1 - Optimized for crypto volatility, added quality filtering
v1.2 - Enhanced dashboard, improved visual positioning
🆘 Getting Help
Check TradingView Pine Script documentation for general issues
Verify your chart is set to 1-3 minute timeframe
Ensure you're trading during active market hours
Test on different crypto pairs to find best fit
🔮 Future Enhancements
Custom alert messages
Backtesting statistics panel
Multiple timeframe analysis
Risk/reward ratio calculator
DJZS Session Tracker (PDT-Aligned)//@version=5
indicator("DJZS Session Tracker (PDT-Aligned)", overlay=true, max_lines_count=500)
// Extract current date/time
var int y = year(time)
var int mo = month(time)
var int d = dayofmonth(time)
// Convert local session times (PDT = UTC-7)
asia_start = timestamp("America/Los_Angeles", y, mo, d, 17, 0)
asia_end = timestamp("America/Los_Angeles", y, mo, d + 1, 2, 0)
london_start = timestamp("America/Los_Angeles", y, mo, d + 1, 0, 0)
london_end = timestamp("America/Los_Angeles", y, mo, d + 1, 9, 0)
ny_start = timestamp("America/Los_Angeles", y, mo, d + 1, 5, 0)
ny_end = timestamp("America/Los_Angeles", y, mo, d + 1, 14, 0)
in_session(start, end) =>
time >= start and time < end
asia = in_session(asia_start, asia_end)
london = in_session(london_start, london_end)
ny = in_session(ny_start, ny_end)
// Plot background for sessions
bgcolor(asia ? color.new(color.aqua, 85) : na)
bgcolor(london ? color.new(color.green, 85) : na)
bgcolor(ny ? color.new(color.orange, 85) : na)
// Track session highs/lows
var float asiaHigh = na
var float asiaLow = na
var float londonHigh = na
var float londonLow = na
var float nyHigh = na
var float nyLow = na
if asia
asiaHigh := na(asiaHigh) ? high : math.max(asiaHigh, high)
asiaLow := na(asiaLow) ? low : math.min(asiaLow, low)
else
asiaHigh := na
asiaLow := na
if london
londonHigh := na(londonHigh) ? high : math.max(londonHigh, high)
londonLow := na(londonLow) ? low : math.min(londonLow, low)
else
londonHigh := na
londonLow := na
if ny
nyHigh := na(nyHigh) ? high : math.max(nyHigh, high)
nyLow := na(nyLow) ? low : math.min(nyLow, low)
else
nyHigh := na
nyLow := na
// Plot session highs/lows
plot(asiaHigh, "Asia High", color=color.aqua, style=plot.style_linebr, linewidth=1)
plot(asiaLow, "Asia Low", color=color.aqua, style=plot.style_linebr, linewidth=1)
plot(londonHigh, "London High", color=color.green, style=plot.style_linebr, linewidth=1)
plot(londonLow, "London Low", color=color.green, style=plot.style_linebr, linewidth=1)
plot(nyHigh, "NY High", color=color.orange, style=plot.style_linebr, linewidth=1)
plot(nyLow, "NY Low", color=color.orange, style=plot.style_linebr, linewidth=1)
Orderflow Bias Premium v2 [Pro+]Orderflow Bias Premium v2 is a dynamic Pine v6 indicator designed to identify periods of consolidation (choppy) markets versus expansion (trending) markets using a blend of volatility, volume, and market structure. When markets shift into expansion, the script computes a composite directional bias (“Bullish”, “Bearish”, or “Neutral”) along with a trend strength metric. In consolidation, it tracks how long price remains choppy, displaying elapsed minutes. All information is presented in a floating table at the top-right of the chart for instant visual clarity - with each field toggleable on / off by the user.
Key Terms and Definitions
Consolidation : A market regime where price action is confined within narrow Bollinger Band widths, low ATR/price ratios, and subdued volume—signaling uncertainty or indecision.
Expansion : A market regime where volatility, ATR, or volume “break out” of low percentile thresholds, suggesting a trending move.
Bollinger Band Width (BBW) : The normalized distance between the upper and lower Bollinger Bands, calculated as (upper – lower) / basis. Used here to detect when volatility is suppressed.
ATR/Price Ratio : The average true range (ATR) divided by the current close, normalized as a percentage. A lower ratio indicates tighter price action.
Volume Ratio (VR) : Current volume divided by its moving average; when VR is below a historical percentile, volume is considered “low.”
Percentile Test : For each metric (BBW, ATR/price, VR), we compute the current value’s rank (e.g., 20th percentile) over a look-back window. If the current value is below that percentile (after applying any intraday multipliers), it counts as “low.”
Imbalance (3-Bar Gap) : A price pattern where, two bars ago, the high is lower than the current bar’s low (bullish imbalance) or the low is higher than the current bar’s high (bearish imbalance). The script tracks whether any such gap has formed in a higher timeframe to seed directional memory.
Directional Bias : When in expansion, three methods vote on market direction: (1) DMI spread, (3) impulse-bar majority, and (4) last imbalance direction. The summed votes determine “Bullish”, “Bearish”, or “Neutral.”
Hysteresis (Bars to Flip State) : The number of consecutive bars required for a new regime (consolidation ↔ expansion) to be confirmed. This prevents false flips from single-bar noise.
Key Features
Dynamic Regime Detection
Combines BBW, ATR/price, and volume percentile tests to detect low-volatility consolidation vs. breakouts.
Supports optional intraday multipliers to scale thresholds during open (09:30–10:15), lunch (11:45–13:30), and power hour (15:30–16:00).
Optional higher-timeframe filter (current TF × user-defined multiplier) ensures false consolidations are avoided when the next larger TF is still trending.
Intuitive Chop Enhancements
N-Bar Range Test: Flags chop if (highest high – lowest low) over N bars < ATR×multiplier.
ADX Test: Considers ADX < user threshold as choppy.
RSI Flat Test: Marks chop if RSI range over N bars < threshold.
SMA Deviation Test: Detects chop if |price – SMA| (normalized by ATR) < threshold.
Composite Directional Bias (Expansion Only)
Method 1: DMI spread vote (+DI vs. –DI).
Method 2: Impulse-bar majority over a rolling window.
Method 3:Memory of last 3-bar imbalance on a user-specified higher TF.
Strength Metric:ADX normalized to percentage + textual category (Low/Moderate/High/Very High) indicates trend momentum.
Real-Time Table Display
2-column, 3-row floating table at top-right.
How Traders Can Use the Indicator Effectively
Timing Breakouts
While price remains in consolidation, the elapsed timer can reveal when an extended chop may soon resolve—enabling traders to anticipate breakouts.
Filtering Noise on Lower TFs
By enabling the higher-TF filter (e.g., 5 min chart screening 15 min chop), intraday traders can avoid false expansion signals caused by micro-noise.
Directional Confirmation
In expansion mode, seeing “Orderflow: Bullish” + “Strength: High” can be used as confluence alongside price-action entries or trendline breaks.
Combining with Other Tools
Pair with volume profile, market structure (swing highs/lows), or momentum oscillators for multi-dimensional confirmation before taking a trade.
USER TOGGLEABLE INPUTS
Show State
Toggles displaying the “State:” row (Consolidation vs. Expansion) in the table.
Show Strength
Toggles displaying the ADX-based strength (or, in consolidation, elapsed time) row in the table.
Show OrderFlow Bias
Toggles displaying the “Orderflow” (directional bias) row (or “Bias: Neutral” in consolidation).
Bars to Flip State
Number of consecutive bars required before switching between “Consolidation” and “Expansion.”
Enable BBW Percentile Test
Toggles whether Bollinger-Band-width percentile checks count toward identifying consolidation.
BB Length
Look-back length (in bars) for computing the Bollinger Band’s SMA/standard deviation.
BB StdDev Mult
Multiplier on the Bollinger Band’s standard deviation when calculating bandwidth.
BBW Look-back
Number of bars over which to compute the rolling percentile of BB width.
BBW Percentile
Percentile threshold for BB width to be considered “low” (choppy).
Enable ATR Percentile Test
Toggles whether the ATR/price-ratio percentile check counts toward consolidation.
ATR Length
Look-back length (in bars) for calculating ATR.
ATR Look-back
Number of bars over which to compute the rolling percentile of ATR/price.
ATR Percentile
Percentile threshold for ATR/price ratio to be considered “low.”
Enable Volume Percentile Test
Toggles whether volume percentile checks count toward consolidation.
Volume MA Length
Look-back length (in bars) for computing the moving average of volume.
Vol Percentile
Percentile threshold for current volume (relative to its MA) to be considered “low.”
Vol Factor (fallback)
Multiplier applied to the volume percentile threshold if the primary percentile test fails.
Enable Intraday Multipliers
Toggles whether open/lunch/power-hour scaling factors apply to BBW/ATR tests.
BBW Open/Power Mult
Multiplier on BB width threshold during market open (09:30–10:15) and power hour (15:30–16:00).
ATR Open/Power Mult
Multiplier on ATR threshold during market open and power hour.
BBW Lunch Mult
Multiplier on BB width threshold during the lunch lull (11:45–13:30).
ATR Lunch Mult
Multiplier on ATR threshold during the lunch lull.
Enable Higher TF Filter
Toggles checking the BBW/ATR/Vol tests on a higher timeframe before allowing consolidation.
Higher-TF Multiplier
Integer factor by which to multiply the current timeframe (e.g., 5 min × 3 = 15 min) for higher-TF checks.
Show ADX Strength
Toggles whether ADX is used to compute and display the “Strength” metric when expanding.
ADX Length
Look-back length (in bars) for computing DMI/ADX.
Table Opacity %
Opacity (0–100) of the floating table’s background.
DI Spread Threshold
Minimum difference between +DI and −DI needed to cast a bullish or bearish vote in directional bias.
Impulse Window Size
Number of bars over which to count “impulse bars” (close in top 40 % vs. bottom 40 %) for directional voting.
Enable Bar Range Test
Toggles checking if the N-bar high–low range is unusually narrow (another chop criterion).
Range Test N Bars
Look-back period (in bars) for computing the highest high minus lowest low for the range test.
Range Test ATR Mult
Multiplier on the average ATR when comparing against the N-bar range.
Enable ADX Test
Toggles marking “choppy” if ADX is below the user-defined threshold.
ADX Threshold
ADX value below which the market is considered non-trending (choppy).
Enable RSI Flat Test
Toggles checking whether RSI has been stuck in a tight range (another chop signal).
RSI Length
Look-back length (in bars) for computing standard RSI.
RSI Range N Bars
Look-back period (in bars) for computing RSI’s highest minus lowest.
RSI Range Threshold
Maximum RSI range over the look-back period to qualify as “flat.”
Enable SMA Deviation Test
Toggles checking if price is “near” its SMA (another chop heuristic).
SMA Length
Look-back length (in bars) for computing the simple moving average (SMA).
Dev Test ATR Length
Look-back length (in bars) for ATR when normalizing deviation from the SMA.
Dev Threshold (ATR units)
Maximum (|price − SMA| / ATR) allowed to count as “near” the SMA.
Enable TF1
Toggles the higher-timeframe imbalance logic on or off.
Timeframe 1
Base resolution (e.g., “1” = 1 minute) used for detecting 3-bar imbalances.
Lookback Timeframe
Higher timeframe (e.g., “15” = 15 minutes) used to compute how many base-resolution bars to look back.
Bars 1
(Calculated internally) Number of base-timeframe bars contained within one lookback-timeframe bar.
Terms and Conditions
Informational Purposes Only : OrderFlow Bias v2 Premium is provided without any guarantees. It is not financial advice, nor does it predict market movements. Users assume full responsibility for any trading decisions made.
No Liability : By using this indicator, you acknowledge that neither the script’s author nor TradingView is liable for losses arising from its use. Past performance is not indicative of future results.
Licensing : This script is published as closed-source (protected). Its Pine code is hidden from view and may not be forked, modified, or redistributed without express permission from the author. Protected scripts on TradingView require a Pro, Pro+, or Premium account to publish and remain accessible only to invited users; all usage rights and access control are governed by the author’s invite settings.
Disclaimer
The information and code in OrderFlow Bias v2 Premium are provided “as is” for educational and analytical purposes only. They do not constitute any investment, trading, or financial advice. Users should conduct their own due diligence and seek professional counsel before making trading decisions. The author and TradingView disclaim all liability for actions based on this information.
Previous Highs & Lows (Customizable)Previous Highs & Lows (Customizable)
This Pine Script indicator displays horizontal lines and labels for high, low, and midpoint levels across multiple timeframes. The indicator plots levels from the following periods:
Today's session high, low, and midpoint
Yesterday's high, low, and midpoint
Current week's high, low, and midpoint
Last week's high, low, and midpoint
Last month's high, low, and midpoint
Last quarter's high, low, and midpoint
Last year's high, low, and midpoint
Features
Individual Controls: Each timeframe has separate toggles for showing/hiding high/low levels and midpoint levels.
Custom Colors: Independent color selection for lines and labels for each timeframe group.
Display Options:
Adjustable line width (1-5 pixels)
Variable label text size (tiny, small, normal, large, huge)
Configurable label offset positioning
Organization: Settings are grouped by timeframe in a logical sequence from most recent (today) to least recent (last year).
Display Logic: Lines span the current trading day only. Labels are positioned to the right of the price action. The indicator automatically removes previous drawings to prevent chart clutter.
RTH Session Highs & LowsA Pine Script indicator designed to track and plot the Regular Trading Hours (RTH) session highs and lows on a chart, typically for U.S. equity markets (e.g., S&P 500, Nasdaq, etc.), which operate from 9:30 AM to 4:00 PM Eastern Time.
Session High & Low Lines:
During the RTH session, the indicator draws green and red horizontal lines that represent the highest and lowest price seen so far within that trading session.
These levels help traders identify intraday support (low) and resistance (high) levels.
New High/Low Markers:
Small triangle markers are placed:
Above the bar when a new intraday high is made (green triangle).
Below the bar when a new intraday low is made (red triangle).
This visually flags when momentum may be building or reversing.
Intraday Strategy Support:
Use the session high/low as dynamic support/resistance for scalping or breakout strategies.
For example:
Breakouts above session highs may indicate bullish strength.
Breakdowns below session lows may suggest bearish momentum.
Mean Reversion Tactics:
Prices approaching these lines and then rejecting can be used for mean reversion setups.
Combine with volume or candlestick patterns for confirmation.
Risk Management:
Set stops or targets relative to session highs/lows.
For instance, use session high as a stop-loss level in a short position.
Volatility Gauge:
Tracking how frequently new highs/lows are formed can help assess intraday volatility or range expansion.
Complement with Indicators:
Combine this with our "McGinley Dynamic Channel with Directional Shading" indicator or our "EMA Crossover with Shading" indicator to add context to breakouts or rejections.
ATR Volatility giua64ATR Volatility giua64 – Smart Signal + VIX Filter
📘 Script Explanation (in English)
Title: ATR Volatility giua64 – Smart Signal + VIX Filter
This script analyzes market volatility using the Average True Range (ATR) and compares it to its moving average to determine whether volatility is HIGH, MEDIUM, or LOW.
It includes:
✅ Custom or preset configurations for different asset classes (Forex, Indices, Gold, etc.).
✅ An optional external volatility index input (like the VIX) to refine directional bias.
✅ A directional signal (LONG, SHORT, FLAT) based on ATR strength, direction, and external volatility conditions.
✅ A clean visual table showing key values such as ATR, ATR average, ATR %, VIX level, current range, extended range, and final signal.
This tool is ideal for traders looking to:
Monitor the intensity of price movements
Filter trading strategies based on volatility conditions
Identify momentum acceleration or exhaustion
⚙️ Settings Guide
Here’s a breakdown of the user inputs:
🔹 ATR Settings
Setting Description
ATR Length Number of periods for ATR calculation (default: 14)
ATR Smoothing Type of moving average used (RMA, SMA, EMA, WMA)
ATR Average Length Period for the ATR moving average baseline
🔹 Asset Class Preset
Choose between:
Manual – Define your own point multiplier and thresholds
Forex (Pips) – Auto-set for FX markets (high precision)
Indices (0.1 Points) – For index instruments like DAX or S&P
Gold (USD) – Preset suitable for XAU/USD
If Manual is selected, configure:
Setting Description
Points Multiplier Multiplies raw price ranges into useful units (e.g., 10 for Gold)
Low Volatility Threshold Threshold to define "LOW" volatility
High Volatility Threshold Threshold to define "HIGH" volatility
🔹 Extended Range and VIX
Setting Description
Timeframe for Extended High/Low Used to compare larger price ranges (e.g., Daily or Weekly)
External Volatility Index (VIX) Symbol for a volatility index like "VIX" or "EUVI"
Low VIX Threshold Below this level, VIX is considered "low" (default: 20)
High VIX Threshold Above this level, VIX is considered "high" (default: 30)
🔹 Table Display
Setting Description
Table Position Where the visual table appears on the chart (e.g., bottom_center, top_left)
Show ATR Line on Chart Whether to display the ATR line directly on the chart
✅ Signal Logic Summary
The script determines the final signal based on:
ATR being above or below its average
ATR rising or falling
ATR percentage being significant (>2%)
VIX being high or low
Conditions Signal
ATR rising + high volatility + low VIX LONG
ATR falling + high volatility + high VIX SHORT
ATR flat or low volatility or low %ATR FLAT
cd_full_poi_CxOverview
This indicator tracks the price in 16 different time frames (optional) in order to answer the question of where the current price has reacted or will react.
It appears on the chart and in the report table when the price approaches or touches the fvg or mitigations (order block / supply-demand), the rules of which will be explained below.
In summary, it follows the fvg and mitigations in the higher timeframe than the lower timeframe.
Many traders see fvg or mitigates as an point of interest and see the high, low swept in those zones as a trading opportunity. Key levels, Session high/lows and Equal high and lows also point of interest.
If we summarise the description of the point of interest ;
1- Fair value gaps (FVG) (16 time frames)
2- Mitigation zones (16 time frames)
3- Previous week, day, H4, H1 high and low levels
4- Sessions zones (Asia, London and New York)
5- Equal high and low levels are in indicator display.
Details:
1- Fair Value Gaps : It is simply described as a price gap and consists of a series of 3 candles. The reaction of the price to the gap between the 1st and 3rd candle wicks is observed.
The indicator offers 3 options for marking. These are :
1-1- ‘Colours are unimportant’: candle colours are not considered for marking. Fvg formation is sufficient.(Classical)
1-2- ‘First candle opposite colour’ : when a price gap occurs, the first candle of a series of 3 candles must be opposite.
For bullish fvg : bearish - bullish - free
For Bearish fvg : bullish - bearish - free
1-3- ‘All same colour’ : all candles in a series of 3 candles must be the same direction.
For bullish fvg: bullish - bullish - bullish
For bearish fvg : bearish - bearish – bearish
Examples:
2- Mitigation zones: Opposite candles with a fvg in front of them or candles higher/lower than the previous and next candle and with the same colour as the fvg series are marked.
Examples :
3- Previous week, day, H4, H1 high and low levels
4- Sessions regions (Asia, London and New York)
5- Equal high and low levels:
Annotation: Many traders want to see a liquidity grab on the poi, then try to enter the trade with the appropriate method.
Among the indicators, there is also the indication of grabs/swepts that occur at swing points. It is also indicated when the area previously marked as equal high/low is violated (grab).
At the end, sample setups will be shown to give an idea about the use of the indicator.
Settings:
- The options to be displayed from the menu are selected by ticking.
- 1m, 2m, 3m, 5m, 5m, 10m, 15m, 30m, h1, h4, h4, h6, h8, h12, daily, weekly, monthly and quarterly, 16 time zones in total can be displayed.
- The ‘Collapse when the price touches mitigate’ tab controls whether to collapse the box as the price moves into the inner region of the mitigate. If not selected, the size of the mitigate does not change.
- ‘Approach limit =(ATR / n)’ tab controls how close the price is to the fvg or mitigate. Instant ATR(10) value is calculated by dividing by the entered ‘n’ value.
- All boxes and lines are automatically removed from the screen when the beyond is closed.
- Colour selections, table, text features are controlled from the menu.
- Sessions hours are set as standard hours, the user can select special time zones. Timezone is set to GMT-4.
- On the candle when the price touches fvg or mitigate, the timeframe information of the POI is shown in the report table together with the graphical representation.
The benefits and differences :
1- We can evaluate the factors we use for setup together.
2- We are aware of what awaits us in the high time frame in the following candles.
3- It offers the user the opportunity to be selective with different candle selection options in fvg selection.
4- Mitige areas are actually unmitige areas because they have a price gap in front of them. The market likes to retest these areas.
5- Equal high/low zones are the levels that the price creates to accumulate liquidity or fails to go beyond (especially during high volume hours). Failure or crossing of the level may give a reversal or continuation prediction.
Sample setup 1:
Sample setup 2:
Sample setup 3:
Cheerful trades…
Enjoy…
Inner Circle Toolkit [TakingProphets]Inner Circle Toolkit — A Complete ICT Trading Companion
The Inner Circle Toolkit is a closed-source, all-in-one trading tool designed for traders following ICT (Inner Circle Trader) and Smart Money Concepts strategies. Every part of this script is built with purpose — not just a mashup of indicators, but a structured framework to help you follow price through the lens of institutional behavior and liquidity theory.
Let’s walk through what it does and how it can help you:
🕒 Session Liquidity Levels (Asia, London, New York, NY Lunch)
The indicator automatically marks the highs and lows of the major trading sessions:
-Asian Session
-London Session
-New York AM Session
-New York Lunch
These levels are important because price often returns to these points to grab liquidity before making a move. This gives traders clear areas to watch for potential sweeps, rejections, or reversals — without having to manually track session timings every day.
REQHs and REQLs — Equal Highs and Lows
This script detects Relatively Equal Highs and Lows (REQHs/REQLs), which are often used by institutions as stop-run targets.
It’s not just looking for copy-paste double tops or bottoms — it uses a tolerance-based algorithm that checks for clusters of similar highs or lows over a given time period. These are likely to hold stops and become magnets for price. When you see these on the chart, you’ll know where the “juice” is sitting.
Fair Value Gaps (FVG) — Multi-Timeframe
The script automatically plots Fair Value Gaps (FVGs) on both:
-Your current chart timeframe
-One or more higher timeframes (like H1 or H4)
These are three-candle gaps that form when price moves aggressively without filling in value. Price often comes back to these areas to rebalance. Seeing both local and higher-timeframe FVGs on your chart gives better context and helps with entries and exits.
The script is optimized so your chart doesn’t get messy — higher timeframe FVGs show up in a cleaner format with visual labels and lighter shading.
SMT Divergence — With Session Logic
This tool includes a real-time SMT divergence detector, based on the behavior of correlated markets like ES vs. NQ.
Here’s how it works:
If ES sweeps a liquidity level (like Asia Low), but NQ doesn’t, the script detects and marks that divergence.
This often signals institutional accumulation or distribution — a high-probability setup.
You won’t have to flip between charts or manually compare — the SMT logic runs automatically and only fires when it matters (at key session levels). It’s a smarter, more focused way to track intermarket divergences.
Daily Highs and Lows — Week-to-Week Structure
The indicator keeps track of the high and low for each day of the week — Monday through Friday — helping you understand how price is evolving across the week.
This helps build a weekly profile:
Did Monday set the high of the week?
Are we sweeping Tuesday’s low on Thursday?
These levels stay visible and labeled, helping you frame daily setups inside the bigger picture.
🕛 Midnight Open & 8:30 AM Open Levels
These two levels are core ICT concepts used to judge whether price is in premium or discount:
Midnight Open (00:00 EST): Used to determine daily bias
New York Open (08:30 EST): Often a launch point for key moves
Both are drawn automatically and extend throughout the day. This helps you align your trades with potential algorithmic bias, especially during NY session volatility.
⏰ 9:45 AM Vertical Marker — Macro Time Reminder
The script draws a subtle vertical line at 9:45 AM EST, which is the start of the NY AM macro session — one of the most likely times to see setups play out.
This is more than just a timer — it’s a visual cue that something important might be setting up soon, especially if you’re already watching SMT, FVGs, or liquidity zones from earlier.
How It All Connects — A Workflow, Not a Mashup
Every feature in this script is connected to the same goal: helping you trade with the Smart Money.
Here’s how the pieces work together:
Session levels → potential stop hunts
Equal highs/lows → targets
FVGs → entry points
SMT divergence → confirmation or warning
Daily highs/lows → Weekly structure frames bias
Open levels → premium vs. discount
Macro line → timing clue for execution
It’s built to help you flow with price action and trade the story, not just random signals.
Why It’s Closed Source — and Original
This script is closed-source because it contains:
A proprietary system for real-time SMT logic (with intermarket sweep detection)
Multi-timeframe FVG detection that auto-filters overlaps
Smart equal-high/low detection using range-based clustering
Optimized UI that shows a lot without overwhelming the chart
There are no moving averages, no public-domain indicators, and no mashup of standard tools. Everything here is purpose-built for traders who follow ICT strategies.
Let us know how we can improve!
Advanced Market Structure & Order Blocks (fadi)Advanced Market Structure & Order Blocks indicator provides a new approach to understanding price action using ICT (Inner Circle Trader) concepts related to candle blocks to analyze the market behavior and eliminate much of the noise created by the price action.
This indicator is not intended to provide trade signals, it is designed to provide the traders with to support their trading strategies and add clarity where possible.
There are currently three main elements to this indicator:
Market Structure
Order Blocks
Liquidity Voids
Market Structure
In trading, market structure is often identified by observing higher highs and higher lows. An uptrend is characterized by a series of higher highs, where each peak surpasses the previous one, and higher lows, where each trough is higher than the preceding one. Conversely, a downtrend is marked by lower highs and lower lows.
Other indicators usually determine these peaks by calculating the highest or lowest levels within a predefined number of candles. For example, identifying the highest price level within the last 15 candles and marking it as a higher high or a lower high. While this approach offers some structure to price action, it can be arbitrary and random due to price fluctuations and the lack of proper structure analysis beyond finding the highest peaks and valleys within candle ranges.
In his 2022 mentorship, episode 12, ICT introduced an alternative approach focusing on three-candle pivots called Short Term High and Low (STH/STL), which are then used to calculate the Intermediate Term High and Low (ITH/ITL), and in turn, the Long Term High and Low (LTH/LTL). ICT’s approach provides better structure than the traditional method mentioned above. However, it can be confusing and difficult to track. There are great indicators that track and label ICT’s levels, but traders still find it challenging to follow and understand.
The Advanced Market Structure indicator takes a unique approach by analyzing candle formations, using ICT concepts, to identify possible turning points that mimic a real trader’s analysis of price action as closely as possible. However, it should be expected that Market Makers may use market manipulation to induce traders to make failed trades, and no tooling can eliminate these situations.
Advanced Market Structure tracks true Peaks and Valleys as they form, confirms them, and marks the chart with corresponding labels using traditional labeling methods (HH/HL/LH/LL), as such labeling makes it easier for traders to follow and understand. The indicator also draws levels to help identify possible liquidity areas and trade targets.
The indicator uses different calculation methods for the different type of market structure length, however all calculations are based on the same ICT candle blocks concepts.
Market Structure Settings
Other than the display settings, there are four (4) settings, mainly under the Level Settings section.
Allow Nested Candles
This option is only available on the Short Market Structure due to the methods used in calculating highs and lows. When used, the indicator will attempt to detect smaller fluctuations in price by tracking smaller candle moves, if any.
Level Settings
Level Settings allows the trader to decide two main calculations:
1. A new pivot point will form when a candle’s is crossed by the following candle’s
2. For a liquidity sweep and marking a level as mitigated, a candle’s must cross that level
Order Blocks
ICT (Inner Circle Trader) defines an Order Block as the last down-closing candle, or series of candles, before a significant upward price move or the last up-closing candle, or series of candles, before a significant downward price move. These key price levels, marked by substantial buy or sell orders from institutional traders or "smart money," create a block or zone on the price chart. When the price revisits these levels, it often leads to a strong market reaction. Order Blocks can consist of one or multiple consecutive candles of the same color, signaling areas of significant buying or selling interest. ICT's approach to Order Blocks provides traders with a structured method to identify potential areas of support or resistance, where price movements are more likely to change direction. Although ICT has shared some criteria for identifying Order Blocks publicly, the full details are reserved for his upcoming books. This indicator leverages the publicly available information to provide traders with valuable insights into these crucial price levels.
The Advanced Market Structure indicator is designed to be highly flexible, allowing traders to define their own combination of rules for identifying Order Blocks, thus customizing it to fit their unique trading strategies.
Order Block Configuration
Can be nested
An Order Block is defined as the last down candle or candles before a strong move higher, and vice versa for bearish Order Blocks. However, larger-than-usual candles resulting from news events or price action may not qualify as Order Blocks and can mute any Order Block within their range.
The "Can be nested" flag ensures that each Order Block is treated as an independent entity, even if it appears within the body of another Order Block.
Forms at swing point
Order Blocks formed at swing points typically have higher probabilities but are less frequent, assuming the same rules are applied. Additionally, Order Blocks at swing points may become Breaker and Mitigation blocks if they fail, providing more trading opportunities.
Forms a simple pivot point
A simple pivot point corresponds to ICT Short Term High and Low (STH/STL). Order Blocks using simple pivot points can occur in the middle of a move, not just at swing points. These are useful for identifying IOFED setups and supporting blocks that can bolster the price move.
Causes Market Structure Shift
Order Blocks that result in a break above or below a short swing point can help narrow down target order blocks, but they are less frequent. An Order Block causing a break above or below a pivot point does not necessarily indicate a strong Order Block. For example, an Order Block formed at a Lower Low is more likely to fail in a downtrend.
A clean close above order block
When the first candle breaks above an Order Block and closes above its high, this indicates a stronger Order Block. On the other hand, if a candle merely wicks through the Order Block without a solid close above it, it suggests a weaker Order Block. This may indicate hesitation or an impending reversal, as the wick represents a temporary and unsustained price movement.
Has displacement more than X the body
While some traders may capitalize on the initial break above an Order Block's CISD level, others prefer to focus on the return to an Order Block after displacement. Displacement is determined by the body size of the Order Block, and an Order Block cannot be tested until this level has been achieved.
Has a Fair Value Gap
When an Order Block is combined with a Fair Value Gap (FVG), it signifies a strong Order Block. The Fair Value Gap indicates a strong price movement away from the Order Block.
Has a liquidity void
A Liquidity Void occurs when two consecutive candles of the same color do not overlap, creating a gap similar to a Fair Value Gap, but involving one or more middle candles. Liquidity Voids can be utilized in combination with, or as an alternative to, the displacement setting.
Maximum number of OBs
The maximum number of Order Blocks to display.
Mitigated at block’s
An Order Block is considered mitigated when price reaches one of the main Order Block levels.
Liquidity Void
Liquidity Void refers to areas on a price chart where there is one-sided trading activity. This phenomenon occurs when the price of an asset moves sharply in one direction, leaving gaps where two consecutive candles of the same color do not overlap. These gaps can comprise one or more middle candles and indicates a pronounced lack of trading within that price range. Liquidity Voids are important because they highlight areas of minimal resistance, where price is more likely to return to fill the void and balance the market.
Liquidity Void vs Fair Value Gap
While both concepts are related to gaps in price action, they are distinct. A Fair Value Gap is a specific three-candle pattern where the middle candle creates a gap between the first and third candles. In contrast, a Liquidity Void represents a broader area on the chart where there is little to no trading activity, often encompassing multiple candles and indicating a more pronounced imbalance between buy and sell orders.
A FVG can be part of a Liquidity Void, a Liquidity Void can exist without necessarily including an FVG. Both concepts highlight areas of minimal resistance and potential price movement, but they differ in their formation and implications.
Advanced Market Structure and Order Blocks indicator focus on liquidity voids since a liquidity void can substitute for a FVG and it is usually less addressed by other indicators.
Morning RangeOverview
The Morning Range Indicator highlights the high and low of the market session from 6 AM to 10AM, providing key levels for potential breakout trades. The box dynamically updates in real-time, extending until 4 PM, and adjusts color based on price action.
This tool is ideal for traders looking to identify breakout opportunities and visualize key intraday price ranges.
How It Works
Session High & Low (6 AM - 10 AM)
The indicator tracks the highest high and lowest low within this time window.
Once 10 AM passes, the high and low are locked in and will not change.
Box Extends Until 4 PM
The session box remains visible throughout the trading day.
It provides a visual reference for potential breakout zones.
Dynamic Box Coloring
Gray (Neutral): Neither high nor low is broken.
Green: Only the high is broken before 4 PM.
Red: Only the low is broken before 4 PM.
Yellow: Both high and low are broken before 4 PM.
Live Updating Box
The box appears as soon as the session begins at 6 AM.
It dynamically updates the high and low until 10 AM.
Alerts for Breakouts
This indicator includes built-in alert conditions, so you can set up TradingView alerts without modifying the script.
Morning Range High Broken → Triggers when price breaks above the morning high.
Morning Range Low Broken → Triggers when price breaks below the morning low.
To set alerts:
Click the Alerts (⏰) icon in TradingView.
Select Condition → "Morning Range High Broken" or "Morning Range Low Broken".
Choose your preferred notification method (popup, email, webhook, etc.).
Click Create to activate the alert.
Who This Is For
✔ Intraday & Scalp Traders – Identify key breakout levels for short-term trades.
✔ Futures & Forex Traders – Works great for markets like NQ, ES, Gold, and FX pairs.
✔ Breakout & Reversal Traders – Use the high/low boundaries as support & resistance levels.
Customization
This indicator automatically updates every day and requires no manual input.
You can change alert settings via TradingView’s built-in alert system.
How to Use This Indicator
Watch for breakouts above/below the morning range as potential trade opportunities.
Combine with volume, momentum indicators, or footprint charts for confirmation.
Use the box color to visually assess whether price action is bullish (green), bearish (red), or ranging (gray).
Swing Breakout System (SBS)The Swing Breakout Sequence (SBS) is a trading strategy that focuses on identifying high-probability entry points based on a specific pattern of price swings. This indicator will identify these patterns, then draw lines and labels to show confirmation.
How To Use:
The indicator will show both Bullish and Bearish SBS patterns.
Bullish Pattern is made up of 6 points: Low (0), HH (1), LL (2 | but higher than initial Low), New HH (3), LL (5), LL again (5)
Bearish Patten is made up of 6 points: High (0), LL (1), HH (2 | but lower than initial high), New LL (3), HH (5), HH again (5)
A label with an arrow will appear at the end, showing the completion of a successful sequence
Idea behind the strategy:
The idea behind this strategy, is the accumulation and then manipulation of liquidity throughout the sequence. For example, during SBS sequence, liquidity is accumulated during step (2), then price will push away to make a new high/low (step 3), after making a minor new high/low, price will retrace breaking the key level set up in step (2). This is price manipulating taking liquidity from behind high/low from step (2). After taking liquidity price the idea is price will continue in the original direction.
Step 0 - Setting up initial direction
Step 1 - Setting up initial direction
Step 2 - Key low/high establishing liquidity
Step 3 - Failed New high/low
Step 4 - Taking liquidity from step (2)
Step 5 - Taking liquidity from step 2 and 4
Pattern Detection:
- Uses pivot high/low points to identify swing patterns
- Stores 6 consecutive swing points in arrays
- Identifies two types of patterns:
1. Bullish Pattern: A specific sequence of higher lows and higher highs
2. Bearish Pattern: A specific sequence of lower highs and lower lows
Note: Because the indicator is identifying a perfect sequence of 6 steps, set ups may not appear frequently.
Visualization:
- Draws connecting lines between swing points
- Labels each point numerically (optional)
- Shows breakout arrows (↑ for bullish, ↓ for bearish)
- Generates alerts on valid breakouts
User Input Settings:
Core Parameters
1. Pivot Lookback Period (default: 2)
- Controls how many bars to look back/forward for pivot point detection
- Higher values create fewer but more significant pivot points
2. Minimum Pattern Height % (default: 0.1)
- Minimum required height of the pattern as a percentage of price
- Filters out insignificant patterns
3. Maximum Pattern Width (bars) (default: 50)
- Maximum allowed width of the pattern in bars
- Helps exclude patterns that form over too long a period
Weekly Opening Range and Previous Data for FuturesThis indicator will not predict future price action.
This indicator is a time based range tool. These types of tools are great to use when there is not any historical data to look back on (as in all time highs/lows). The user can use this indicator to measure distributions, use deviations of the range to identify support/resistance levels, and see how historical price action influences current price action. This indicator is unique because it uses the price range from the open of the futures market on Sunday 18:00 America/New York to the open of the Bond Market 8:00 America/New York as the range for all calculations.
This indicator collects the multiple points of data from each day of the week, and gives the user many options on how to use the data that is collected. The amount of data collected is based on the time frame of the chart (best used on a 15 minute chart), but is limited to 30 minute charts.
Data Collected:
Opening Range for the week
High of Each Day
Low of Each Day
Close of Each Day
Initially the range is plotted on the chart as a box, when the Bond market opens the high/low/mid is plotted, as well as the current week open and previous week close.
How the data is used.
Intraday: Monday does not have a previous day to pull data on, so all data for Monday is intraday data. When a new high is made, the indicator will search all previous data in the lookback period for the current day , find all highs that are within a set variance (determined by the user), and plot the corresponding lows from the matching days. It will do the same for new lows that are made, with corresponding historical highs. All of these levels are plotted on the chart, as well as the Average High, Average Low. If price moves beyond either Average, the Average of all days that distributed higher than the Average is plotted on the chart as Min/Max Average.
Previous Day Data: Tuesday - Friday. After the close of the day, the user has the option to choose either the High, Low, or Close of that day to find previous data that matches within a variance determined by the user; or an option to find the n closest matches (up to 20). That data is then matched to the corresponding next day data and plotted on the chart as a box. Example: Monday closes at +1 Deviation (Dev) of the Weekly Opening Range (WOR). The user sets the variance at 0.5 (0.5 Dev of the WOR), the indicator will search the lookback period for all Mondays that closed between 1.25 Dev and 0.75 Dev of the WOR. The matching Mondays will then be matched to their corresponding Tuesdays and the data for the High and Low from those Tuesdays will be placed on the chart as a box overlaying the current Tuesday. Each match is numbered so that corresponding Highs and Lows of each historical day can be identified. The same can be done for either the High or Low of the Previous Day.
The indicator has a table that can be shown.
Data shown in table:
Current Extension of the WOR
Maximum Extension of the WOR
Average WOR in %
Current WOR in %
Average Range for the day in % based on data set
Current Range for the day in %
Number of days in the data set
Number of Previous Day Matches
Variance for previous day data
Number of Intraday High Matches
Number of Intraday Low Matches
Variance for Intraday Matches
The table as well as all lines and boxes have the option of being shown or not, as well as have their settings customized to fit the users chart layout.
As with any indicator, do not let the data shown change your trading model. Past performance is not indicative to future performance.
UVR Crypto TrendINDICATOR OVERVIEW: UVR CRYPTO TREND
The UVR Crypto Trend indicator is a custom-built tool designed specifically for cryptocurrency markets, utilizing advanced volatility, momentum, and trend-following techniques. It aims to identify trend reversals and provide buy and sell signals by analyzing multiple factors, such as price volatility(UVR), RSI (Relative Strength Index), CMF (Chaikin Money Flow), and EMA (Exponential Moving Average). The indicator is optimized for CRYPTO MARKETS only.
KEY FEATURES AND HOW IT WORKS
Volatility Analysis with UVR
The UVR (Ultimate Volatility Rate) is a proprietary calculation that measures market volatility by comparing significant price extremes and smoothing the data over time.
Purpose: UVR aims to reduce noise in low-volatility environments and highlight significant movements during higher-volatility periods. While it strives to improve filtering in low-volatility conditions, it does not guarantee perfect performance, making it a balanced and adaptable tool for dynamic markets like cryptocurrency.
HOW UVR (ULTIMATE VOLATILITY RATE) IS CALCULATED
UVR is calculated using a method that ensures precise measurement of market volatility by comparing price extremes across consecutive candles:
Volatility Components:
Two values are calculated to represent potential price fluctuations:
The absolute difference between the current candle's high and the previous candle's low:
Volatility Component 1=∣High−Low ∣
The absolute difference between the previous candle's high and the current candle's low:
Volatility Component 2=∣High −Low∣
Volatility Ratio:
The larger of the two components is selected as the Volatility Ratio, ensuring UVR captures the most significant movement:
Volatility Ratio=max(Volatility Component 1,Volatility Component 2)
Smoothing with SMMA:
To stabilize the volatility calculation, the Volatility Ratio is smoothed using a Smoothed Moving Average (SMMA) over a user-defined period (e.g., 14 candles):
UVR=(UVR(Previous)×(Period−1)+Volatility Ratio)/Period
This calculation ensures UVR adapts dynamically to market conditions, focusing on significant price movements while filtering out noise.
RSI FOR MOMENTUM DETECTION
RSI (Relative Strength Index) identifies overbought and oversold conditions.
Trend Confirmation at the 50 Level
RSI values crossing above 50 signal the potential start of an upward trend.
RSI values crossing below 50 indicate the potential start of a downward trend.
Key Reversals at Extreme Levels
RSI detects trend reversals at overbought (>70) and oversold (<30) levels.
For example:
Overbought Trend Reversal: RSI >70 followed by bearish price action signals a potential downtrend.
Oversold Trend Reversal: RSI <30 with bullish confirmation signals a potential uptrend.
Rare Extreme RSI Readings
Extreme levels, such as RSI <12 (oversold) or RSI >88 (overbought), are used to identify rare yet powerful reversals.
---HOW IT DIFFERS FROM OTHER INDICATORS---
Using UVR High and Low Values
The Ultimate Volatility Rate (UVR) focuses on analyzing the high and low price ranges of the market to measure volatility.
Unlike traditional trend indicators that rely primarily on momentum or moving average crossovers, UVR leverages price extremes to better identify trend reversals.
This approach ensures fewer false signals during low-volatility phases and more accurate trend detection during high-volatility conditions.
UVR as the Core Component
The indicator is fundamentally built around UVR as the primary filter, while supporting tools like RSI (momentum detection), CMF (volume confirmation), and EMA (trend validation) complement its functionality.
By integrating these additional components, the indicator provides a multidimensional analysis rather than relying solely on a single approach.
Dynamic Adaptation to Volatility
UVR dynamically adjusts to market conditions, striving to improve filtering in low-volatility phases. While not flawless, this approach minimizes false signals and adapts more effectively to varying levels of market activity.
Trend Clouds for Visual Guidance
UVR-based dynamic clouds visually mark high and low price areas, highlighting potential consolidation or retracement zones.
These clouds serve as guides for setting stop-loss or take-profit levels, offering clear risk management strategies.
BUY AND SELL SIGNAL LOGIC
BUY CONDITIONS
Momentum-Based Buy-Entry
RSI >50, CMF >0, and the close price is above EMA50.
The price difference between open and close exceeds a threshold based on UVR.
Oversold Reversal
RSI <30 and CMF >0 with a strong bullish candle (close > open and UVR-based sensitivity filter).
Breakout Confirmation
The price breaks above a previously identified resistance, with conditions for RSI and CMF supporting the breakout.
Reversal from Oversold RSI Extreme
RSI <12 on the previous candle with a strong rebound on the current candle with UVR confirmation filter.
SELL CONDITIONS
Momentum-Based Sell-Entry
RSI <50, CMF <0, and the close price is below EMA50.
The price difference between open and close exceeds the UVR threshold.
Overbought Reversal
RSI >70 with bearish price action (open > close and UVR-based sensitivity filter).
Breakdown Confirmation
The price breaks below a previously identified support, with RSI and CMF supporting the breakdown.
Reversal from Overbought RSI Extreme
RSI >88 on the previous candle with a bearish confirmation on the current candle with UVR confirmation filter.
BUY AND SELL SIGNALS VISUALIZATION
The UVR Crypto Trend Indicator visually represents buy and sell conditions using dynamic plots, making it easier for traders to interpret and act on the signals. Below is an explanation of the visual representation:
Buy Signals and Visualization
Signal Trigger:
A buy signal is generated when one of the defined Buy Conditions is met (e.g., RSI >50, CMF >0, price above EMA50).
Visual Representation:
A blue upward arrow appears at the candle where the buy condition is triggered.
A blue cloud forms above the price candles, representing the strength of the bullish trend. The cloud dynamically adapts to market volatility, using the UVR calculation to mark support zones or consolidation levels.
Purpose of the Blue Cloud:
It acts as a visual guide for price movements and stay horizontal when the trend is not moving up
Sell Signals and Visualization
Signal Trigger:
A sell signal is generated when one of the defined Sell Conditions is met (e.g., RSI <50, CMF <0, price below EMA50).
Visual Representation:
A red downward arrow appears at the candle where the sell condition is triggered.
A red cloud forms below the price candles, representing the strength of the bearish trend. Like the blue cloud, it uses the UVR calculation to dynamically mark resistance zones or potential retracement levels.
Purpose of the Red Cloud:
It acts as a visual guide for price movements and stay horizontal when the trend is not moving down.
CONCLUSION
The UVR Crypto Trend indicator provides a powerful tool for trend reversal detection by combining volatility analysis, momentum confirmation, and trend-following techniques. Its unique use of the Ultimate Volatility Rate (UVR) as a core element, supported by proven indicators like RSI, CMF, and EMA, ensures reliable and actionable signals tailored for the crypto market's dynamic nature. By leveraging UVR’s high and low price range analysis, it achieves a level of precision that traditional indicators lack, making it a high-performing system for cryptocurrency traders.
First 15-Min Candle Detector [With Breakout Alerts]Indicator: First 15-Minute Candle Detector
Purpose
This indicator helps traders by identifying and marking the high, low, and mid-point of the first 15-minute candle of the market session. It also provides visual aids and alerts for price breakouts above or below these levels, making it ideal for intraday trading strategies.
This script is suitable for traders focusing on early session momentum or reversal strategies.
Key Features
Market Start Customization: Configure the market start time (hour and minute) to align with your trading session or exchange timezone.
Visual Aids:
Horizontal lines to mark the High , Low , and Mid-point of the first 15-minute candle.
Background highlighting to identify the first 15-minute candle.
Configurable colors and line widths for clear visuals.
Breakout Alerts:
Real-time alerts for breakouts above the high or below the low of the first 15-minute candle.
Customizable alert messages.
Alerts configured using alertcondition .
Dynamic Adjustments:
Adapts dynamically to timeframes of 15 minutes or lower.
Resets and recalculates at the start of each new session.
Inputs and Configurations
Market Settings:
Market Start Hour: Default is 9.
Market Start Minute: Default is 30.
Visual Settings:
Enable/disable background highlighting.
Set colors for the background, high line, low line, and mid-line.
Adjust line width (1 to 5).
Toggle the visibility of the mid-line.
Alert Settings:
Enable breakout alerts.
Set custom alert messages for high and low breakouts.
How It Works
// First 15-Minute Candle Detection
The indicator monitors the first 15-minute candle after the market opens based on the configured start time. It records the high , low , and calculates the mid-point of this candle.
// Visual Markings
Horizontal lines are drawn at the high, low, and mid-point of the first 15-minute candle, extending to the right for the rest of the session.
// Breakout Detection
The indicator checks for price breakouts above the high or below the low of the first 15-minute candle and triggers alerts if enabled.
// Dynamic Reset
The indicator resets values and deletes previous session lines at the start of each new session.
Conditions and Alerts
Breakout Conditions:
High Breakout: The closing price exceeds the high of the first 15-minute candle.
Low Breakout: The closing price falls below the low of the first 15-minute candle.
Alert Triggers: Configurable alerts notify you of breakouts in real-time.
Use Cases
Intraday Traders: Ideal for early-session momentum or reversal strategies.
Breakout Traders: Helps identify entry points when price breaks key levels.
Visual Clarity: Simplifies tracking important session levels.
Limitations
Works only on 15-minute or lower timeframes.
Requires accurate market start time configuration.
Historical Price Levels: Week, Month, QuarterDescription:
The Historical Highs and Lows: Weekly, Monthly, Quarterly Levels indicator is designed to mark significant price levels based on the highest and lowest prices within specific historical time periods. This indicator provides insights into key price points from multiple timeframes: weekly, monthly, and quarterly. It is ideal for traders who want to monitor and analyze the critical support and resistance levels that may influence price movement.
This indicator draws horizontal lines from the highest and lowest price points of past weeks, months, and quarters, extending 10 candles into the future from these critical price levels. The indicator also provides labels to mark each of these levels, making it easy to identify important turning points in the price chart.
Key Features:
Historical Highs and Lows: The indicator marks the highest and lowest prices for each specified period—weekly, monthly, and quarterly—up to the last closed week, month, or quarter.
Dynamic Lines: The lines are drawn from the historical high/low points and extended to the right by 10 candles, representing potential future price levels of interest.
Labels: The indicator provides labels such as "Week X High", "Month X Low", and "Quarter X High", placed on the right side of the chart to highlight each significant level.
Customizable: Users can adjust the appearance of the lines, including the line style and color, to match their preferences.
Multi-Timeframe Support: The indicator works across all timeframes, ensuring that users can view relevant historical levels regardless of their chart's resolution.
How to Use:
Support and Resistance: The high and low levels marked by this indicator can act as key support and resistance zones. Price action may reverse when it approaches these levels, as they represent significant price points where the market has reversed in the past.
Reversal Points: Price often reacts strongly when it reaches these historical highs or lows. Traders can use these levels to anticipate potential reversals or breakouts.
Market Analysis: By identifying the key high and low points of different timeframes, traders can gain a deeper understanding of the market’s past behavior and use this information to make more informed trading decisions.
Usage Strategy:
Price Reversals: When price approaches one of the historical high or low levels, watch for signs of reversal, such as candlestick patterns (e.g., Doji, Engulfing) or other technical indicators (e.g., RSI, MACD). These levels often act as strong barriers, and price can reverse at these points.
Breakouts: If the price breaks through these levels, it could signal the beginning of a new trend. For example, a breakout above a historical high may suggest bullish momentum, while a breakdown below a historical low may indicate a bearish trend.
Conclusion:
The Historical Highs and Lows: Weekly, Monthly, Quarterly Levels indicator is a powerful tool for traders looking to understand and monitor key price levels. By identifying significant price points from multiple timeframes, traders can use this information to predict potential price reversals or breakouts. Given the nature of these levels, price often reacts near them, providing valuable opportunities for entry and exit points.
Multiple vlines boxes and averages distance to candles@emami
Indicator: "Multiple Vertical Lines with Boxes and Averages with Distance to Candles"
Description:
This Pine Script is designed to help traders analyze price movements over different time frames by visually drawing vertical lines and boxes based on selected date/time points. The script calculates the highest high, lowest low, and midpoints of the last 9, 26, and 52 bars, drawing a box around each range. Additionally, the script displays the distance from the high and low to the current bar.
Key Features:
Multiple Vertical Lines:
Vertical lines are drawn at user-specified times, allowing traders to highlight critical points on the chart for further analysis.
Dynamic Boxes Based on Bar Count:
9-bar Box: Displays the highest high and lowest low for the last 9 bars (including the current bar) and draws a box around this range. A midpoint line is also plotted.
26-bar Box: Similar to the 9-bar box, but for the last 26 bars.
52-bar Box: Displays the same calculation for the last 52 bars.
Distance Calculations:
The script calculates the distance from the highest high and lowest low of each box to the current bar, providing valuable insight into the range and price movement for each time window.
Visual Display:
Each box is colored differently for easy identification (orange for 9 bars, white for 26 bars, and green for 52 bars).
Midpoint lines are drawn in different colors to distinguish between the 9-bar, 26-bar, and 52-bar ranges.
Labels are placed above the high and below the low of each box, showing the exact high/low values and the distance to the current bar.
How It Works:
The script first waits for the specified date and time inputs. Once the time condition is met, it performs the calculations for the high, low, and midpoint of the last 9, 26, and 52 bars.
The script then plots vertical lines at the specified times and draws boxes based on the highest high and lowest low for each range.
A midpoint is drawn for each box, and labels are placed with the high/low values and the distances from these values to the current bar.
How to Use It:
Set the date and time for the vertical lines you want to analyze.
The script will automatically draw the lines and boxes for the selected time frames.
Review the boxes and midpoints to identify potential price levels for analysis.
Use the distance values to assess the current price's proximity to the high/low of the respective bar range.
Improvements Based on Rules:
Language:
Make sure your title and description are in English. If you use any other language, ensure it’s accompanied by an English translation.
Clean Chart:
Ensure that the chart you’re publishing with the script is clear and simple, without additional, unnecessary indicators or drawings.
Originality & Usefulness:
If your script is closed-source, clarify why it is closed-source. Provide enough details about its unique functionality so traders can understand its purpose and utility.
No Advertisements or Promotions:
Double-check that your description does not contain any links, promotional content, or references to websites, companies, or social media.
Suggested Tags for Script:
#PineScript
#VerticalLines
#PriceAnalysis
#TechnicalAnalysis
#SupportResistance
#BoxingStrategy
#MidpointCalculation
#DistanceToCandles
#ChartIndicators